package meconsea.webcoll.uc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import meconsea.webcoll.base.entity.AbsEntity;
import meconsea.webcoll.base.entity.IEntity;

import org.hibernate.annotations.Type;

@SuppressWarnings("serial")
@Entity
@Table(name="uc_article")
public class UcArticle extends AbsEntity implements IEntity {
	@Column(name="title",length=512)
	private String title;
	@Column(name="userId",length=32)
	private String userId;
	@Column(name="fromURL",length=512)
	private String fromURL;
	@Column(name="sortName",length=256)
	private String sortName;
	@Column(name="sortId",length=32)
	private String sortId;
	@Column(name="indexPic",length=128)
	private String indexPic;
	@Column(name="publicDegree")
	@Type(type="integer")
	private int publicDegree;
	@Column(name="artType")
	@Type(type="integer")
	private int artType;
	@Column(name="readNum")
	@Type(type="integer")
	private int readNum;
	@Column(name="collectNum")
	@Type(type="integer")
	private int collectNum;
	@Column(name="isTop")
	@Type(type="integer")
	private int isTop;
	@Column(name="isCommend")
	@Type(type="integer")
	private int  isCommend;
	
	@Column(name="sysCommend")
	@Type(type="integer")
	private int sysCommend;
	
	@Column(name="isHeader")
	@Type(type="integer")
	private int isHeader;
	
	@Column(name="isHot")
	@Type(type="integer")
	private int isHot;
	
	@Column(name="audit")
	@Type(type="integer")
	private int audit;
	
	@Column(name="commentDegree")
	@Type(type="integer")
	private int commentDegree;
	
	@Column(name="artLevel")
	@Type(type="integer")
	private int artLevel;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getFromURL() {
		return fromURL;
	}

	public void setFromURL(String fromURL) {
		this.fromURL = fromURL;
	}

	public String getSortName() {
		return sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public String getSortId() {
		return sortId;
	}

	public void setSortId(String sortId) {
		this.sortId = sortId;
	}

	public String getIndexPic() {
		return indexPic;
	}

	public void setIndexPic(String indexPic) {
		this.indexPic = indexPic;
	}

	public int getPublicDegree() {
		return publicDegree;
	}

	public void setPublicDegree(int publicDegree) {
		this.publicDegree = publicDegree;
	}

	public int getArtType() {
		return artType;
	}

	public void setArtType(int artType) {
		this.artType = artType;
	}

	public int getReadNum() {
		return readNum;
	}

	public void setReadNum(int readNum) {
		this.readNum = readNum;
	}

	public int getCollectNum() {
		return collectNum;
	}

	public void setCollectNum(int collectNum) {
		this.collectNum = collectNum;
	}

	public int getIsTop() {
		return isTop;
	}

	public void setIsTop(int isTop) {
		this.isTop = isTop;
	}

	public int getIsCommend() {
		return isCommend;
	}

	public void setIsCommend(int isCommend) {
		this.isCommend = isCommend;
	}

	public int getSysCommend() {
		return sysCommend;
	}

	public void setSysCommend(int sysCommend) {
		this.sysCommend = sysCommend;
	}

	public int getIsHeader() {
		return isHeader;
	}

	public void setIsHeader(int isHeader) {
		this.isHeader = isHeader;
	}

	public int getIsHot() {
		return isHot;
	}

	public void setIsHot(int isHot) {
		this.isHot = isHot;
	}

	public int getAudit() {
		return audit;
	}

	public void setAudit(int audit) {
		this.audit = audit;
	}

	public int getCommentDegree() {
		return commentDegree;
	}

	public void setCommentDegree(int commentDegree) {
		this.commentDegree = commentDegree;
	}

	public int getArtLevel() {
		return artLevel;
	}

	public void setArtLevel(int artLevel) {
		this.artLevel = artLevel;
	}
	
}
